package com.yuwei.module_property.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.Res
import com.bw.lib_http.Const
import com.yuwei.http.entity.PropertyEntity
import com.yuwei.http.entity.TenantEntity
import retrofit2.http.GET
import retrofit2.http.Path

interface PropertyApiService: BaseApiServer {
    @GET(Const.GET_PROPERTY_LIST_URL)
    suspend fun getPropertyList(@Path("regionId")regionId : Int) : Res<PropertyEntity>
    @GET(Const.GET_TENANT_LIST_URL)
    suspend fun getTenantList() : Res<TenantEntity>
}